import request from "@/utils/request";

// 查询列表
export function getList(data) {
  return request({
    url: "/business/ops/help/operation/page",
    method: "get",
    params: {...data, pageSize: 9999},
  });
}

// 查询列表 详情
export function getDetails(data) {
  return request({
    url: "/business/ops/help/operation/detail?id=" + data,
    method: "get",
  });
}
// add 列表
export function addList(data) {
  return request({
    url: "/business/ops/help/operation/add",
    method: "post",
    data: data,
  });
}
// update 列表
export function updateList(data) {
  return request({
    url: "/business/ops/help/operation/update",
    method: "post",
    data: data,
  });
}

// delete 列表
export function deleteList(data) {
  return request({
    url: "/business/ops/help/operation/dels?ids=" + data,
    method: "post",
  });
}
